* OPEN STATA OUTPUT FILE LOG *

log using "C:\Users\jungy\Dropbox\DISCRIMINATION PROJECT\Organizational Diversity\Statistics\Krause & Park.Authority Differentials.APPENDIX F RESULTS.08-07-2024.smcl", replace  

  


  
  
***** SUPPLEMENTARY APPENDIX STATISTICAL ANALYSES:  APPENDIX F: CONSIDERING CONDITIONAL SGPD DIFFERENTIAL EFFECTS ACROSS PRESIDENTIAL ADMINISTRATIONS [TRUMP VERSUS OBAMA] /// ******




*** ACCESS DATABASE FOR THE PROJECT: FEVS DATA FROM 2010-2019 AND 'MATCHED' OPM DATA: POST-ESTIMATION OF MANUSCRIPT RESULTS ****


use "C:\Users\jungy\Dropbox\DISCRIMINATION PROJECT\Organizational Diversity\Statistics\2010-2019_DATA FINAL.08-07-2024.post-estimation.dta", replace 

   

 
***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************



** CREATE OBAMA ADMINISTRATION BINARY INDICATOR **
gen obama = 1 if year<2017
replace obama = 0 if obama==.
*
 
 
** NOTE: OMIT YEAR BINARY INDICATORS FROM MODEL SPECIFICATIONS BELOW ** 

   
   
   
*** 2. CONDITIONAL-RESPONDENT MODELS EVALUATING THE RELATIONSHIP INVOLVING WITHIN-IDENTITY "OUT-GROUP" STATUS & BETWEEN-IDENTITY GROUP STATUS DIFFERENTIALS AS A MEANS TO FOSTER DIVERSITY AND INCLUSION IN THE U.S. CIVILIAN WORKFORCE  ***   

   
*** MODEL F1: CONDITIONAL RESPONSES BY GENDER -- GENDER BETWEEN-IDENTITY GROUP STATUS DIFFERENTIAL MODEL: [WOMEN SUPERVISORS WITHIN AGENCY j IN YEAR t / MEN SUPERVISORS WITHIN AGENCY j IN YEAR t] / [WOMEN NON-SUPERVISORS WITHIN AGENCY j IN YEAR t / MEN SUBORINDATES WITHIN AGENCY j IN YEAR t] -- CONTROLLING FOR GENDER SUPERVISORY EMPLOYEE IDENTITY GROUP DIFFERENTIAL ***

regress lndiversity2zeroadj  c.ln_ratio_fmsup_fmsub##i.gender##i.obama   ln_ratio_fem_tot_men_tot  minority  supervisor  topoffgender_2 lntotworkforce_count  ln_professionals_total_ratio    i.agencyid , vce(cluster agencyid)
*
estat ic
*
tab obama if e(sample)

*
*** OBAMA - TRUMP DIFFERENCES [MEN RESPONDENTS] **
*
** Trump [Men Respondents]
lincom  c.ln_ratio_fmsup_fmsub
*
* Obama [Men Respondents]
lincom c.ln_ratio_fmsup_fmsub + 1.obama#c.ln_ratio_fmsup_fmsub
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MEN RESPONDENTS] **
lincom  1.obama#c.ln_ratio_fmsup_fmsub 
*
*
*
*** OBAMA - TRUMP DIFFERENCES [WOMEN RESPONDENTS] **
*
** Trump [Women Respondents]
lincom  c.ln_ratio_fmsup_fmsub + 1.gender#c.ln_ratio_fmsup_fmsub
*
* Obama [Women Respondents]
lincom  1.obama#c.ln_ratio_fmsup_fmsub + 1.obama#1.gender#c.ln_ratio_fmsup_fmsub   +  c.ln_ratio_fmsup_fmsub + 1.gender#c.ln_ratio_fmsup_fmsub
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [WOMEN RESPONDENTS]  **
lincom  1.obama#c.ln_ratio_fmsup_fmsub + 1.obama#1.gender#c.ln_ratio_fmsup_fmsub   
*
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [WOMEN - MEN RESPONDENT DIFFERENCES]  **
lincom   1.obama#1.gender#c.ln_ratio_fmsup_fmsub  

   
*** MODEL F2: CONDITIONAL RESPONSES BY RACE/ETHNICITIY -- RACIAL/ETHNIC BETWEEN-IDENTITY GROUP STATUS DIFFERENTIAL MODEL: [MINORITY SUPERVISORS WITHIN AGENCY j IN YEAR t / NON-MINORITY SUPERVISORS WITHIN AGENCY j IN YEAR t] / [MINORITY NON-SUPERVISORS WITHIN AGENCY j IN YEAR t / NON-MINORITY SUBORINDATES WITHIN AGENCY j IN YEAR t] -- CONTROLLING FOR RACIAL/ETHNIC SUPERVISORY EMPLOYEE IDENTITY GROUP DIFFERENTIAL ***

regress  lndiversity2zeroadj  c.ln_ratio_mnmsup_mnmsub##i.minority##i.obama   ln_ratio_min_tot_nmin_tot   gender supervisor  topoffminority_2  lntotworkforce_count  ln_professionals_total_ratio   i.agencyid , vce(cluster agencyid)
*
estat ic
*
*

*** OBAMA - TRUMP DIFFERENCES [NON-MINORITY RESPONDENTS] **
*
** Trump [Non-Minority Respondents]
lincom  c.ln_ratio_mnmsup_mnmsub
*
* Obama [Non-Minority Respondents]
lincom c.ln_ratio_mnmsup_mnmsub + 1.obama#c.ln_ratio_mnmsup_mnmsub
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [NON-MINORITY RESPONDENTS] **
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub
*
*
*
*** OBAMA - TRUMP DIFFERENCES [MINORITY RESPONDENTS] **
*
** Trump [Minority Respondents]
lincom  c.ln_ratio_mnmsup_mnmsub + 1.minority#c.ln_ratio_mnmsup_mnmsub
*
* Obama [Minority Respondents]
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub + 1.obama#1.minority#c.ln_ratio_mnmsup_mnmsub   +  c.ln_ratio_mnmsup_mnmsub + 1.minority#c.ln_ratio_mnmsup_mnmsub
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY RESPONDENTS]  **
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub + 1.obama#1.minority#c.ln_ratio_mnmsup_mnmsub   
*
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY - NON-MINORITY RESPONDENT DIFFERENCES]  **
lincom   1.obama#1.minority#c.ln_ratio_mnmsup_mnmsub


   
*** MODEL F3: CONDITIONAL DIFFERENTIAL MINORITY/NON-MINORITY RESPONSES BY GENDER -- GENDER BETWEEN-IDENTITY GROUP STATUS DIFFERENTIAL MODEL: [WOMEN SUPERVISORS WITHIN AGENCY j IN YEAR t / MEN SUPERVISORS WITHIN AGENCY j IN YEAR t] / [WOMEN NON-SUPERVISORS WITHIN AGENCY j IN YEAR t / MEN SUBORINDATES WITHIN AGENCY j IN YEAR t] -- CONTROLLING FOR GENDER SUPERVISORY EMPLOYEE IDENTITY GROUP DIFFERENTIAL ***

regress lndiversity2zeroadj  c.ln_ratio_fmsup_fmsub##i.women_het##i.obama   ln_ratio_fem_tot_men_tot  minority  supervisor  topoffgender_2 lntotworkforce_count  ln_professionals_total_ratio    i.agencyid , vce(cluster agencyid)
*
estat ic
*
*

*** OBAMA - TRUMP DIFFERENCES [MEN RESPONDENTS] **
*
** Trump [Men Respondents]
lincom  c.ln_ratio_fmsup_fmsub
*
* Obama [Men Respondents]
lincom c.ln_ratio_fmsup_fmsub + 1.obama#c.ln_ratio_fmsup_fmsub 
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MEN RESPONDENTS] **
lincom  1.obama#c.ln_ratio_fmsup_fmsub 
*
*
*
*** OBAMA - TRUMP DIFFERENCES [NON-MINORITY WOMEN RESPONDENTS] **
*
** Trump [Non-Minority Women Respondents]
lincom  c.ln_ratio_fmsup_fmsub + 1.women_het#c.ln_ratio_fmsup_fmsub
*
* Obama [Non-Minority Women Respondents]
lincom  1.obama#c.ln_ratio_fmsup_fmsub + 1.obama#1.women_het#c.ln_ratio_fmsup_fmsub   +  c.ln_ratio_fmsup_fmsub + 1.women_het#c.ln_ratio_fmsup_fmsub
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [NON-MINORITY WOMEN RESPONDENTS]  **
lincom  1.obama#c.ln_ratio_fmsup_fmsub + 1.obama#1.women_het#c.ln_ratio_fmsup_fmsub   
*
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [NON-MINORITY WOMEN - MEN RESPONDENT DIFFERENCES]  **
lincom   1.obama#1.women_het#c.ln_ratio_fmsup_fmsub  
*
*
*
*** OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN RESPONDENTS] **
*
** Trump [Minority Women Respondents]
lincom  c.ln_ratio_fmsup_fmsub + 2.women_het#c.ln_ratio_fmsup_fmsub
*
* Obama [Minority Women Respondents]
lincom  1.obama#c.ln_ratio_fmsup_fmsub + 1.obama#2.women_het#c.ln_ratio_fmsup_fmsub   +  c.ln_ratio_fmsup_fmsub + 2.women_het#c.ln_ratio_fmsup_fmsub
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN RESPONDENTS]  **
lincom  1.obama#c.ln_ratio_fmsup_fmsub + 1.obama#2.women_het#c.ln_ratio_fmsup_fmsub   
*
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN - MEN RESPONDENT DIFFERENCES]  **
lincom   1.obama#2.women_het#c.ln_ratio_fmsup_fmsub  
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN - NON-MINORITY WOMEN RESPONDENT DIFFERENCES]  **
lincom   1.obama#2.women_het#c.ln_ratio_fmsup_fmsub  -  1.obama#1.women_het#c.ln_ratio_fmsup_fmsub


*
*
*
*
*
*
   
*** MODEL F4: CONDITIONAL RESPONSES BY RACE/ETHNICITIY -- RACIAL/ETHNIC BETWEEN-IDENTITY GROUP STATUS DIFFERENTIAL MODEL: [MINORITY SUPERVISORS WITHIN AGENCY j IN YEAR t / NON-MINORITY SUPERVISORS WITHIN AGENCY j IN YEAR t] / [MINORITY NON-SUPERVISORS WITHIN AGENCY j IN YEAR t / NON-MINORITY SUBORINDATES WITHIN AGENCY j IN YEAR t] -- CONTROLLING FOR RACIAL/ETHNIC SUPERVISORY EMPLOYEE IDENTITY GROUP DIFFERENTIAL ***

regress  lndiversity2zeroadj  c.ln_ratio_mnmsup_mnmsub##i.minority_het##i.obama   ln_ratio_min_tot_nmin_tot   gender supervisor  topoffminority_2  lntotworkforce_count  ln_professionals_total_ratio   i.agencyid , vce(cluster agencyid)
*
estat ic
*
*

*** OBAMA - TRUMP DIFFERENCES [NON-MINORITY RESPONDENTS] **
*
** Trump [Non-Minority Respondents]
lincom  c.ln_ratio_mnmsup_mnmsub
*
* Obama [Non-Minority Respondents]
lincom c.ln_ratio_mnmsup_mnmsub + 1.obama#c.ln_ratio_mnmsup_mnmsub
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [NON-MINORITY RESPONDENTS] **
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub
*
*
*
*** OBAMA - TRUMP DIFFERENCES [MINORITY MEN RESPONDENTS] **
*
** Trump [Non-Minority Men Respondents]
lincom  c.ln_ratio_mnmsup_mnmsub + 1.minority_het#c.ln_ratio_mnmsup_mnmsub
*
* Obama [Non-Minority Men Respondents]
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub + 1.obama#1.minority_het#c.ln_ratio_mnmsup_mnmsub  +  c.ln_ratio_mnmsup_mnmsub + 1.minority_het#c.ln_ratio_mnmsup_mnmsub
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY MEN RESPONDENTS]  **
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub + 1.obama#1.minority_het#c.ln_ratio_mnmsup_mnmsub 
*
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY MEN - NON-MINORITY RESPONDENT DIFFERENCES]  **
lincom   1.obama#1.minority_het#c.ln_ratio_mnmsup_mnmsub 
*
*
*
*** OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN RESPONDENTS] **
*
** Trump [Minority Women Respondents]
lincom  c.ln_ratio_mnmsup_mnmsub + 2.minority_het#c.ln_ratio_mnmsup_mnmsub
*
* Obama [Minority Women Respondents]
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub + 1.obama#2.minority_het#c.ln_ratio_mnmsup_mnmsub   +  c.ln_ratio_mnmsup_mnmsub + 2.minority_het#c.ln_ratio_mnmsup_mnmsub
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN RESPONDENTS]  **
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub + 1.obama#2.minority_het#c.ln_ratio_mnmsup_mnmsub 
*
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN - NON-MINORITY RESPONDENT DIFFERENCES]  **
lincom   1.obama#2.minority_het#c.ln_ratio_mnmsup_mnmsub  
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN - MINORITY MEN RESPONDENT DIFFERENCES]  **
lincom   1.obama#2.minority_het#c.ln_ratio_mnmsup_mnmsub  -  1.obama#1.minority_het#c.ln_ratio_mnmsup_mnmsub
*
*
*



************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************





   
*** 3. CONDITIONAL-RESPONDENT MODELS EVALUATING THE RELATIONSHIP INVOLVING WITHIN-IDENTITY "OUT-GROUP" STATUS & BETWEEN-IDENTITY GROUP STATUS DIFFERENTIALS AS A MEANS TO FOSTER DIVERSITY AND INCLUSION IN THE U.S. CIVILIAN WORKFORCE     [BY NON-SUPERVISORS POSITIONS VERSUS SUPERVISORY POSITION] ***   




   
*** MODEL F5: CONDITIONAL RESPONSES BY GENDER & POSITION --  GENDER WITHIN-IDENTITY 'OUT-GROUP' STATUS DIFFERENTIAL MODEL: [WOMEN SUPERVISORS WITHIN AGENCY j IN YEAR t / WOMEN NON-SUPERVISORS WITHIN AGENCY j IN YEAR t] -- CONTROLLING FOR GENDER SUPERVISORY EMPLOYEE IDENTITY GROUP DIFFERENTIAL ***

regress  lndiversity2zeroadj  c.ln_ratio_fmsup_fmsub##i.gender##i.obama##i.supervisor   ln_ratio_fem_tot_men_tot   minority  topoffgender_2 lntotworkforce_count  ln_professionals_total_ratio  i.agencyid , vce(cluster agencyid)
*
estat ic
*

*** OBAMA - TRUMP DIFFERENCES [MEN RESPONDENTS: NON-SUPERVISORY POSITIONS] **
*
** Trump [Men Respondents: Non-Supervisory Positions]
lincom  c.ln_ratio_fmsup_fmsub
*
* Obama [Men Respondents: Non-Supervisory Positions]
lincom  c.ln_ratio_fmsup_fmsub +  1.obama#c.ln_ratio_fmsup_fmsub 
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MEN RESPONDENTS: NON-SUPERVISORY POSITIONS] **
lincom  1.obama#c.ln_ratio_fmsup_fmsub 
*
*
*
*** OBAMA - TRUMP DIFFERENCES [WOMEN RESPONDENTS: NON-SUPERVISORY POSITIONS] **
*
** Trump [Women Respondents: Non-Supervisory Positions]
lincom  c.ln_ratio_fmsup_fmsub + 1.gender#c.ln_ratio_fmsup_fmsub
*
* Obama [Women Respondents: Non-Supervisory Positions]
lincom  1.obama#c.ln_ratio_fmsup_fmsub + 1.obama#1.gender#c.ln_ratio_fmsup_fmsub   +  c.ln_ratio_fmsup_fmsub + 1.gender#c.ln_ratio_fmsup_fmsub
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [WOMEN RESPONDENTS: NON-SUPERVISORY POSITIONS]  **
lincom  1.obama#c.ln_ratio_fmsup_fmsub + 1.obama#1.gender#c.ln_ratio_fmsup_fmsub   
*
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [WOMEN - MEN RESPONDENT DIFFERENCES: NON-SUPERVISORY POSITIONS]  **
lincom   1.obama#1.gender#c.ln_ratio_fmsup_fmsub  
*
*
*
*



*** OBAMA - TRUMP DIFFERENCES [MEN RESPONDENTS: SUPERVISORY POSITIONS] **
*
** Trump [Men Respondents: Supervisory Positions]
lincom  c.ln_ratio_fmsup_fmsub + 1.supervisor#c.ln_ratio_fmsup_fmsub
*
* Obama [Men Respondents: Supervisory Positions]
lincom  (c.ln_ratio_fmsup_fmsub + 1.supervisor#c.ln_ratio_fmsup_fmsub) + (1.obama#c.ln_ratio_fmsup_fmsub  + 1.obama#1.supervisor#c.ln_ratio_fmsup_fmsub) 
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MEN RESPONDENTS: SUPERVISORY POSITIONS] **
lincom  1.obama#c.ln_ratio_fmsup_fmsub  + 1.obama#1.supervisor#c.ln_ratio_fmsup_fmsub 
*
*
*
*** OBAMA - TRUMP DIFFERENCES [WOMEN RESPONDENTS: SUPERVISORY POSITIONS] **
*
** Trump [Women Respondents: Supervisory Positions]
lincom  c.ln_ratio_fmsup_fmsub + 1.supervisor#c.ln_ratio_fmsup_fmsub + 1.gender#c.ln_ratio_fmsup_fmsub + 1.supervisor#1.gender#c.ln_ratio_fmsup_fmsub
*
* Obama [Women Respondents: Supervisory Positions]
lincom   (c.ln_ratio_fmsup_fmsub + 1.supervisor#c.ln_ratio_fmsup_fmsub + 1.gender#c.ln_ratio_fmsup_fmsub + 1.supervisor#1.gender#c.ln_ratio_fmsup_fmsub) + ///
(1.obama#c.ln_ratio_fmsup_fmsub + 1.obama#1.supervisor#c.ln_ratio_fmsup_fmsub + 1.obama#1.gender#c.ln_ratio_fmsup_fmsub  + 1.obama#1.supervisor#1.gender#c.ln_ratio_fmsup_fmsub)
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [WOMEN RESPONDENTS: SUPERVISORY POSITIONS]  **
lincom  1.obama#c.ln_ratio_fmsup_fmsub + 1.obama#1.supervisor#c.ln_ratio_fmsup_fmsub + 1.obama#1.gender#c.ln_ratio_fmsup_fmsub  + 1.obama#1.supervisor#1.gender#c.ln_ratio_fmsup_fmsub  
*
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [WOMEN - MEN RESPONDENT DIFFERENCES: SUPERVISORY POSITIONS]  **
lincom  1.obama#1.gender#c.ln_ratio_fmsup_fmsub  + 1.obama#1.supervisor#1.gender#c.ln_ratio_fmsup_fmsub  
*
*
* Obama - Trump Differences [Women - Men Respondent Differences: Supervisory - Non Supervisory Positions]  **
lincom    1.obama#1.supervisor#1.gender#c.ln_ratio_fmsup_fmsub





*** MODEL F6: CONDITIONAL RESPONSES BY RACE/ETHNICITIY & POSITION -- RACIAL/ETHNIC WITHIN-'OUT-GROUP' STATUS DIFFERENTIAL MODEL: [MINORITY SUPERVISORS WITHIN AGENCY j IN YEAR t / NON-MINORITY NON-SUPERVISORS WITHIN AGENCY j IN YEAR t]  -- CONTROLLING FOR RACIAL/ETHNIC SUPERVISORY EMPLOYEE IDENTITY GROUP DIFFERENTIAL ***

regress lndiversity2zeroadj  c.ln_ratio_mnmsup_mnmsub##i.minority##i.obama##i.supervisor   ln_ratio_min_tot_nmin_tot   gender  topoffminority_2 lntotworkforce_count  ln_professionals_total_ratio   i.agencyid , vce(cluster agencyid)
*
estat ic
*
*** OBAMA - TRUMP DIFFERENCES [NON-MINORITY RESPONDENTS: NON-SUPERVISORY POSITIONS] **
*
** Trump [Non-Minority Respondents: Non-Supervisory Positions]
lincom  c.ln_ratio_mnmsup_mnmsub
*
* Obama [Non-Minority Respondents: Non-Supervisory Positions]
lincom c.ln_ratio_mnmsup_mnmsub +  1.obama#c.ln_ratio_mnmsup_mnmsub 
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [NON-MINORITY RESPONDENTS: NON-SUPERVISORY POSITIONS] **
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub 
*
*
*
*** OBAMA - TRUMP DIFFERENCES [MINORITY RESPONDENTS: NON-SUPERVISORY POSITIONS] **
*
** Trump [Minority Respondents: Non-Supervisory Positions]
lincom  c.ln_ratio_mnmsup_mnmsub + 1.minority#c.ln_ratio_mnmsup_mnmsub
*
* Obama [Minority Respondents: Non-Supervisory Positions]
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub + 1.obama#1.minority#c.ln_ratio_mnmsup_mnmsub   +  c.ln_ratio_mnmsup_mnmsub + 1.minority#c.ln_ratio_mnmsup_mnmsub
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY RESPONDENTS: NON-SUPERVISORY POSITIONS]  **
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub + 1.obama#1.minority#c.ln_ratio_mnmsup_mnmsub   
*
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY - NON-MINORITY RESPONDENT DIFFERENCES: NON-SUPERVISORY POSITIONS]  **
lincom   1.obama#1.minority#c.ln_ratio_mnmsup_mnmsub  

*
*
*
*
*
*** OBAMA - TRUMP DIFFERENCES [NON-MINORITY RESPONDENTS: SUPERVISORY POSITIONS] **
*
** Trump [Non-Minority Respondents: Supervisory Positions]
lincom  c.ln_ratio_mnmsup_mnmsub + 1.supervisor#c.ln_ratio_mnmsup_mnmsub
*
* Obama [Non-Minority Respondents: Supervisory Positions]
lincom  (c.ln_ratio_mnmsup_mnmsub + 1.supervisor#c.ln_ratio_mnmsup_mnmsub) + (1.obama#c.ln_ratio_mnmsup_mnmsub  + 1.obama#1.supervisor#c.ln_ratio_mnmsup_mnmsub) 
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [NON-MINORITY RESPONDENTS: SUPERVISORY POSITIONS] **
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub  + 1.obama#1.supervisor#c.ln_ratio_mnmsup_mnmsub 
*
*
*
*** OBAMA - TRUMP DIFFERENCES [MINORITY RESPONDENTS: SUPERVISORY POSITIONS] **
*
** Trump [Minority Respondents: Supervisory Positions]
lincom  c.ln_ratio_mnmsup_mnmsub + 1.supervisor#c.ln_ratio_mnmsup_mnmsub + 1.minority#c.ln_ratio_mnmsup_mnmsub + 1.supervisor#1.minority#c.ln_ratio_mnmsup_mnmsub
*
* Obama [Minority Respondents: Supervisory Positions]
lincom   (c.ln_ratio_mnmsup_mnmsub + 1.supervisor#c.ln_ratio_mnmsup_mnmsub + 1.minority#c.ln_ratio_mnmsup_mnmsub + 1.supervisor#1.minority#c.ln_ratio_mnmsup_mnmsub) + ///
(1.obama#c.ln_ratio_mnmsup_mnmsub + 1.obama#1.supervisor#c.ln_ratio_mnmsup_mnmsub + 1.obama#1.minority#c.ln_ratio_mnmsup_mnmsub  + 1.obama#1.supervisor#1.minority#c.ln_ratio_mnmsup_mnmsub)
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY RESPONDENTS: SUPERVISORY POSITIONS]  **
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub + 1.obama#1.supervisor#c.ln_ratio_mnmsup_mnmsub + 1.obama#1.minority#c.ln_ratio_mnmsup_mnmsub  + 1.obama#1.supervisor#1.minority#c.ln_ratio_mnmsup_mnmsub  
*
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY - NON-MINORITY RESPONDENT DIFFERENCES: SUPERVISORY POSITIONS]  **
lincom  1.obama#1.minority#c.ln_ratio_mnmsup_mnmsub  + 1.obama#1.supervisor#1.minority#c.ln_ratio_mnmsup_mnmsub  

*
*
* Obama - Trump Differences [Minority - Non-Minority Respondent Differences: Supervisory - Non Supervisory Positions]  **
lincom    1.obama#1.supervisor#1.minority#c.ln_ratio_mnmsup_mnmsub  
*
*
*
*

* SUPERVISOR - NON-SUPERVISORY DIFFERENCE AMONG MINORITY RESPONDENT DIFFERENCES [TOP OF AGENCY HEAD NON-MINORITY OR MINORITY]
 
lincom  1.minority#c.ln_ratio_mnmsup_mnmsub +  1.minority#1.supervisor#c.ln_ratio_mnmsup_mnmsub - (1.minority#c.ln_ratio_mnmsup_mnmsub)
*
lincom  1.obama#1.minority#c.ln_ratio_mnmsup_mnmsub +  1.obama#1.minority#1.supervisor#c.ln_ratio_mnmsup_mnmsub - (1.obama#1.minority#c.ln_ratio_mnmsup_mnmsub)



******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************




   
*** MODEL F7: CONDITIONAL RESPONSES BY GENDER & POSITION -- GENDER BETWEEN-IDENTITY GROUP STATUS DIFFERENTIAL MODEL: [WOMEN SUPERVISORS WITHIN AGENCY j IN YEAR t / MEN SUPERVISORS WITHIN AGENCY j IN YEAR t] / [WOMEN NON-SUPERVISORS WITHIN AGENCY j IN YEAR t / MEN NON-SUPERVISORS WITHIN AGENCY j IN YEAR t] -- CONTROLLING FOR GENDER SUPERVISORY EMPLOYEE IDENTITY GROUP DIFFERENTIAL ***

regress lndiversity2zeroadj  c.ln_ratio_fmsup_fmsub##i.women_het##i.obama##i.supervisor   ln_ratio_fem_tot_men_tot   minority  topoffgender_2 lntotworkforce_count  ln_professionals_total_ratio   i.agencyid, vce(cluster agencyid)
*
estat ic
*

*** OBAMA - TRUMP DIFFERENCES [MEN RESPONDENTS: NON-SUPERVISORY POSITIONS] **
*
** Trump [Men Respondents: Non-Supervisory Positions]
lincom  c.ln_ratio_fmsup_fmsub
*
* Obama [Men Respondents: Non-Supervisory Positions]
lincom c.ln_ratio_fmsup_fmsub +  1.obama#c.ln_ratio_fmsup_fmsub 
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MEN RESPONDENTS: NON-SUPERVISORY POSITIONS] **
lincom  1.obama#c.ln_ratio_fmsup_fmsub 
*
*
*
*** OBAMA - TRUMP DIFFERENCES [NON-MINORITY WOMEN RESPONDENTS: NON-SUPERVISORY POSITIONS] **
*
** Trump [Non-Minority Women Respondents: Non-Supervisory Positions]
lincom  c.ln_ratio_fmsup_fmsub + 1.women_het#c.ln_ratio_fmsup_fmsub
*
* Obama [Non-Minority Women Respondents: Non-Supervisory Positions]
lincom  c.ln_ratio_fmsup_fmsub + 1.women_het#c.ln_ratio_fmsup_fmsub  +  1.obama#c.ln_ratio_fmsup_fmsub +  1.obama#1.women_het#c.ln_ratio_fmsup_fmsub
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [NON-MINORITY WOMEN RESPONDENTS: NON-SUPERVISORY POSITIONS]  **
lincom  1.obama#c.ln_ratio_fmsup_fmsub + 1.obama#1.women_het#c.ln_ratio_fmsup_fmsub   
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [NON-MINORITY WOMEN - MEN RESPONDENT DIFFERENCES: NON-SUPERVISORY POSITIONS]  **
lincom   1.obama#1.women_het#c.ln_ratio_fmsup_fmsub  
*
*
*
*** OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN RESPONDENTS: NON-SUPERVISORY POSITIONS] **
*
** Trump [Minority Women Respondents: Non-Supervisory Positions]
lincom  c.ln_ratio_fmsup_fmsub + 2.women_het#c.ln_ratio_fmsup_fmsub
*
* Obama [Minority Women Respondents: Non-Supervisory Positions]
lincom   c.ln_ratio_fmsup_fmsub + 2.women_het#c.ln_ratio_fmsup_fmsub  +  1.obama#c.ln_ratio_fmsup_fmsub +  1.obama#2.women_het#c.ln_ratio_fmsup_fmsub
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN RESPONDENTS: NON-SUPERVISORY POSITIONS]  **
lincom  1.obama#c.ln_ratio_fmsup_fmsub + 1.obama#2.women_het#c.ln_ratio_fmsup_fmsub   
*
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN - MEN RESPONDENT DIFFERENCES: NON-SUPERVISORY POSITIONS]  **
lincom   1.obama#2.women_het#c.ln_ratio_fmsup_fmsub  
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN - NON-MINORITY WOMEN RESPONDENT DIFFERENCES: NON-SUPERVISORY POSITIONS]  **
lincom  1.obama#2.women_het#c.ln_ratio_fmsup_fmsub  -  1.obama#1.women_het#c.ln_ratio_fmsup_fmsub  

*
*
*
*
*

*** OBAMA - TRUMP DIFFERENCES [MEN RESPONDENTS: SUPERVISORY POSITIONS] **
*
** Trump [Men Respondents: Supervisory Positions]
lincom  c.ln_ratio_fmsup_fmsub + 1.supervisor#c.ln_ratio_fmsup_fmsub
*
* Obama [Men Respondents: Supervisory Positions]
lincom  (c.ln_ratio_fmsup_fmsub + 1.supervisor#c.ln_ratio_fmsup_fmsub) + (1.obama#c.ln_ratio_fmsup_fmsub  + 1.obama#1.supervisor#c.ln_ratio_fmsup_fmsub) 
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MEN RESPONDENTS: SUPERVISORY POSITIONS] **
lincom  1.obama#c.ln_ratio_fmsup_fmsub  + 1.obama#1.supervisor#c.ln_ratio_fmsup_fmsub 
*
*
*
*** OBAMA - TRUMP DIFFERENCES [NON-MINORITY WOMEN RESPONDENTS: SUPERVISORY POSITIONS] **
*
** Trump [Non-Minority Women Respondents: Supervisory Positions]
lincom  c.ln_ratio_fmsup_fmsub + 1.supervisor#c.ln_ratio_fmsup_fmsub + 1.women_het#c.ln_ratio_fmsup_fmsub + 1.supervisor#1.women_het#c.ln_ratio_fmsup_fmsub
*
* Obama [Non-Minority Women Respondents: Supervisory Positions]
lincom   (c.ln_ratio_fmsup_fmsub + 1.supervisor#c.ln_ratio_fmsup_fmsub + 1.women_het#c.ln_ratio_fmsup_fmsub + 1.supervisor#1.women_het#c.ln_ratio_fmsup_fmsub) + ///
(1.obama#c.ln_ratio_fmsup_fmsub + 1.obama#1.supervisor#c.ln_ratio_fmsup_fmsub + 1.obama#1.women_het#c.ln_ratio_fmsup_fmsub  + 1.obama#1.supervisor#1.women_het#c.ln_ratio_fmsup_fmsub)
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [NON-MINORITY WOMEN RESPONDENTS: SUPERVISORY POSITIONS]  **
lincom  1.obama#c.ln_ratio_fmsup_fmsub + 1.obama#1.supervisor#c.ln_ratio_fmsup_fmsub + 1.obama#1.women_het#c.ln_ratio_fmsup_fmsub  + 1.obama#1.supervisor#1.women_het#c.ln_ratio_fmsup_fmsub  
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [NON-MINORITY WOMEN - MEN RESPONDENT DIFFERENCES: SUPERVISORY POSITIONS]  **
lincom  1.obama#1.women_het#c.ln_ratio_fmsup_fmsub  + 1.obama#1.supervisor#1.women_het#c.ln_ratio_fmsup_fmsub  
*
*
*
*
*** OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN RESPONDENTS: SUPERVISORY POSITIONS] **
*
** Trump [Minority Women Respondents: Supervisory Positions]
lincom  c.ln_ratio_fmsup_fmsub + 1.supervisor#c.ln_ratio_fmsup_fmsub + 2.women_het#c.ln_ratio_fmsup_fmsub + 1.supervisor#2.women_het#c.ln_ratio_fmsup_fmsub
*
* Obama [Minority Women Respondents: Supervisory Positions]
lincom   (c.ln_ratio_fmsup_fmsub + 1.supervisor#c.ln_ratio_fmsup_fmsub + 2.women_het#c.ln_ratio_fmsup_fmsub + 1.supervisor#2.women_het#c.ln_ratio_fmsup_fmsub) + ///
(1.obama#c.ln_ratio_fmsup_fmsub + 1.obama#1.supervisor#c.ln_ratio_fmsup_fmsub + 1.obama#2.women_het#c.ln_ratio_fmsup_fmsub  + 1.obama#1.supervisor#2.women_het#c.ln_ratio_fmsup_fmsub)
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN RESPONDENTS: SUPERVISORY POSITIONS]  **
lincom  1.obama#c.ln_ratio_fmsup_fmsub + 1.obama#1.supervisor#c.ln_ratio_fmsup_fmsub  +  1.obama#2.women_het#c.ln_ratio_fmsup_fmsub  + 1.obama#1.supervisor#2.women_het#c.ln_ratio_fmsup_fmsub  
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN - MEN RESPONDENT DIFFERENCES: SUPERVISORY POSITIONS]  **
lincom  1.obama#2.women_het#c.ln_ratio_fmsup_fmsub  + 1.obama#1.supervisor#2.women_het#c.ln_ratio_fmsup_fmsub  
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN - NON-MINORITY WOMEN RESPONDENT DIFFERENCES: SUPERVISORY POSITIONS]  **
lincom  (1.obama#2.women_het#c.ln_ratio_fmsup_fmsub  + 1.obama#1.supervisor#2.women_het#c.ln_ratio_fmsup_fmsub) -  (1.obama#1.women_het#c.ln_ratio_fmsup_fmsub  + 1.obama#1.supervisor#1.women_het#c.ln_ratio_fmsup_fmsub) 
  
*
*
*
*
*
*
*
* Obama - Trump Differences [Non-Minority Women - Men Respondent Differences: Supervisory - Non Supervisory Positions]  **
lincom  1.obama#1.supervisor#1.women_het#c.ln_ratio_fmsup_fmsub 
*
*
* Obama - Trump Differences [Minority Women - Non-Minority Women Respondent Differences: Supervisory - Non Supervisory Positions]  **
lincom  1.obama#1.supervisor#2.women_het#c.ln_ratio_fmsup_fmsub  -  1.obama#1.supervisor#1.women_het#c.ln_ratio_fmsup_fmsub

*
*
*



* SUPERVISOR - NON-SUPERVISORY DIFFERENCE AMONG WOMEN RESPONDENT DIFFERENCES [NON-MINORITY WOMEN RESPONDENTS FOLLOWED BY MINORITY WOMEN RESPONDENTS] -- DO NOT PLOT IN GRAPHS [ONLY FOR TEXT]!

lincom  1.women_het#c.ln_ratio_fmsup_fmsub +  1.women_het#1.supervisor#c.ln_ratio_fmsup_fmsub  - (1.women_het#c.ln_ratio_fmsup_fmsub)
*
lincom  2.women_het#c.ln_ratio_fmsup_fmsub +  2.women_het#1.supervisor#c.ln_ratio_fmsup_fmsub  - (2.women_het#c.ln_ratio_fmsup_fmsub)

*
*
lincom  1.obama#1.women_het#c.ln_ratio_fmsup_fmsub +  1.obama#1.women_het#1.supervisor#c.ln_ratio_fmsup_fmsub  - (1.obama#1.women_het#c.ln_ratio_fmsup_fmsub)
*
lincom  1.obama#2.women_het#c.ln_ratio_fmsup_fmsub +  1.obama#2.women_het#1.supervisor#c.ln_ratio_fmsup_fmsub  - (1.obama#2.women_het#c.ln_ratio_fmsup_fmsub)



******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************



   
*** MODEL F8: CONDITIONAL RESPONSES BY RACE/ETHNICITY & POSITION -- RACIAL/ETHNIC BETWEEN-IDENTITY GROUP STATUS DIFFERENTIAL MODEL: [MINORITY SUPERVISORS WITHIN AGENCY j IN YEAR t / NON-MINORITY SUPERVISORS WITHIN AGENCY j IN YEAR t] / [MINORITY NON-SUPERVISORS WITHIN AGENCY j IN YEAR t / NON-MINORITY NON-SUPERVISORS WITHIN AGENCY j IN YEAR t] -- CONTROLLING FOR RACIAL/ETHNIC SUPERVISORY EMPLOYEE IDENTITY GROUP DIFFERENTIAL  ***

regress  lndiversity2zeroadj  c.ln_ratio_mnmsup_mnmsub##i.minority_het##i.obama##i.supervisor ln_ratio_min_tot_nmin_tot   gender  topoffminority_2 lntotworkforce_count  ln_professionals_total_ratio   i.agencyid  if e(sample), vce(cluster agencyid)
*
estat ic
*
*** OBAMA - TRUMP DIFFERENCES [NON-MINORITY RESPONDENTS: NON-SUPERVISORY POSITIONS] **
*
** Trump [Non-Minority Respondents: Non-Supervisory Positions]
lincom  c.ln_ratio_mnmsup_mnmsub
*
* Obama [Non-Minority Respondents: Non-Supervisory Positions]
lincom c.ln_ratio_mnmsup_mnmsub +  1.obama#c.ln_ratio_mnmsup_mnmsub  
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [NON-MINORITY RESPONDENTS: NON-SUPERVISORY POSITIONS] **
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub 
*
*
*
*** OBAMA - TRUMP DIFFERENCES [MINORITY MEN RESPONDENTS: NON-SUPERVISORY POSITIONS] **
*
** Trump [Minority Men Respondents: Non-Supervisory Positions]
lincom  c.ln_ratio_mnmsup_mnmsub  + 1.minority_het#c.ln_ratio_mnmsup_mnmsub 
*
* Obama [Minority Men Respondents: Non-Supervisory Positions]
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub + 1.obama#1.minority_het#c.ln_ratio_mnmsup_mnmsub   +  c.ln_ratio_mnmsup_mnmsub + 1.minority_het#c.ln_ratio_mnmsup_mnmsub
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY MEN RESPONDENTS: NON-SUPERVISORY POSITIONS]  **
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub + 1.obama#1.minority_het#c.ln_ratio_mnmsup_mnmsub   
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY MEN - NON-MINORITY RESPONDENT DIFFERENCES: NON-SUPERVISORY POSITIONS]  **
lincom   1.obama#1.minority_het#c.ln_ratio_mnmsup_mnmsub  
*
*
*
*** OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN RESPONDENTS: NON-SUPERVISORY POSITIONS] **
*
** Trump [Minority Women Respondents: Non-Supervisory Positions]
lincom  c.ln_ratio_mnmsup_mnmsub + 2.minority_het#c.ln_ratio_mnmsup_mnmsub
*
* Obama [Minority Women Respondents: Non-Supervisory Positions]
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub + 1.obama#2.minority_het#c.ln_ratio_mnmsup_mnmsub   +  c.ln_ratio_mnmsup_mnmsub + 2.minority_het#c.ln_ratio_mnmsup_mnmsub
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN RESPONDENTS: NON-SUPERVISORY POSITIONS]  **
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub + 1.obama#2.minority_het#c.ln_ratio_mnmsup_mnmsub   
*
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN - NON-MINORITY RESPONDENT DIFFERENCES: NON-SUPERVISORY POSITIONS]  **
lincom   1.obama#2.minority_het#c.ln_ratio_mnmsup_mnmsub  
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN - MINORITY MEN RESPONDENT DIFFERENCES: NON-SUPERVISORY POSITIONS]  **
lincom  1.obama#2.minority_het#c.ln_ratio_mnmsup_mnmsub  -  1.obama#1.minority_het#c.ln_ratio_mnmsup_mnmsub  

*
*
*
*
*
*

*** OBAMA - TRUMP DIFFERENCES [NON-MINORITY RESPONDENTS: SUPERVISORY POSITIONS] **
*
** Trump [Non-Minority Respondents: Supervisory Positions]
lincom  c.ln_ratio_mnmsup_mnmsub + 1.supervisor#c.ln_ratio_mnmsup_mnmsub
*
* Obama [Non-Minority Respondents: Supervisory Positions]
lincom  (c.ln_ratio_mnmsup_mnmsub + 1.supervisor#c.ln_ratio_mnmsup_mnmsub) + (1.obama#c.ln_ratio_mnmsup_mnmsub  + 1.obama#1.supervisor#c.ln_ratio_mnmsup_mnmsub) 
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [NON-MINORITY RESPONDENTS: SUPERVISORY POSITIONS] **
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub  + 1.obama#1.supervisor#c.ln_ratio_mnmsup_mnmsub 
*
*
*
*** OBAMA - TRUMP DIFFERENCES [MINORITY MEN RESPONDENTS: SUPERVISORY POSITIONS] **
*
** Trump [Non-Minority Women Respondents: Supervisory Positions]
lincom  c.ln_ratio_mnmsup_mnmsub + 1.supervisor#c.ln_ratio_mnmsup_mnmsub + 1.minority_het#c.ln_ratio_mnmsup_mnmsub + 1.supervisor#1.minority_het#c.ln_ratio_mnmsup_mnmsub
*
* Obama [Minority Men Respondents: Supervisory Positions]
lincom   (c.ln_ratio_mnmsup_mnmsub + 1.supervisor#c.ln_ratio_mnmsup_mnmsub + 1.minority_het#c.ln_ratio_mnmsup_mnmsub + 1.supervisor#1.minority_het#c.ln_ratio_mnmsup_mnmsub) + ///
(1.obama#c.ln_ratio_mnmsup_mnmsub + 1.obama#1.supervisor#c.ln_ratio_mnmsup_mnmsub + 1.obama#1.minority_het#c.ln_ratio_mnmsup_mnmsub  + 1.obama#1.supervisor#1.minority_het#c.ln_ratio_mnmsup_mnmsub)
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY MEN RESPONDENTS: SUPERVISORY POSITIONS]  **
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub + 1.obama#1.supervisor#c.ln_ratio_mnmsup_mnmsub + 1.obama#1.minority_het#c.ln_ratio_mnmsup_mnmsub  + 1.obama#1.supervisor#1.minority_het#c.ln_ratio_mnmsup_mnmsub  
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY MEN - NON-MINORITY RESPONDENT DIFFERENCES: SUPERVISORY POSITIONS]  **
lincom  1.obama#1.minority_het#c.ln_ratio_mnmsup_mnmsub +  1.obama#1.minority_het#1.supervisor#c.ln_ratio_mnmsup_mnmsub
*
*
*
*
*** OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN RESPONDENTS: SUPERVISORY POSITIONS] **
*
** Trump [Minority Women Respondents: Supervisory Positions]
lincom  c.ln_ratio_mnmsup_mnmsub + 1.supervisor#c.ln_ratio_mnmsup_mnmsub + 2.minority_het#c.ln_ratio_mnmsup_mnmsub + 1.supervisor#2.minority_het#c.ln_ratio_mnmsup_mnmsub
*
* Obama [Minority Women Respondents: Supervisory Positions]
lincom   (c.ln_ratio_mnmsup_mnmsub + 1.supervisor#c.ln_ratio_mnmsup_mnmsub + 2.minority_het#c.ln_ratio_mnmsup_mnmsub + 1.supervisor#2.minority_het#c.ln_ratio_mnmsup_mnmsub) + ///
(1.obama#c.ln_ratio_mnmsup_mnmsub + 1.obama#1.supervisor#c.ln_ratio_mnmsup_mnmsub + 1.obama#2.minority_het#c.ln_ratio_mnmsup_mnmsub  + 1.obama#1.supervisor#2.minority_het#c.ln_ratio_mnmsup_mnmsub)
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN RESPONDENTS: SUPERVISORY POSITIONS]  **
lincom  1.obama#c.ln_ratio_mnmsup_mnmsub + 1.obama#1.supervisor#c.ln_ratio_mnmsup_mnmsub + 1.obama#2.minority_het#c.ln_ratio_mnmsup_mnmsub  + 1.obama#1.supervisor#2.minority_het#c.ln_ratio_mnmsup_mnmsub  
*
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN - NON-MINORITY RESPONDENT DIFFERENCES: SUPERVISORY POSITIONS]  **  
lincom  1.obama#2.minority_het#c.ln_ratio_mnmsup_mnmsub  + 1.obama#1.supervisor#2.minority_het#c.ln_ratio_mnmsup_mnmsub
*
* GRAPH: OBAMA - TRUMP DIFFERENCES [MINORITY WOMEN - MINORITY MEN RESPONDENT DIFFERENCES: SUPERVISORY POSITIONS]  **
lincom  (1.obama#2.minority_het#c.ln_ratio_mnmsup_mnmsub  + 1.obama#1.supervisor#2.minority_het#c.ln_ratio_mnmsup_mnmsub) - (1.obama#1.minority_het#c.ln_ratio_mnmsup_mnmsub  + 1.obama#1.supervisor#1.minority_het#c.ln_ratio_mnmsup_mnmsub)  

*
* Obama - Trump Differences [Non-Minority Women - Non-Minority Respondent Differences: Supervisory - Non Supervisory Positions]  **
lincom   1.obama#1.supervisor#2.minority_het#c.ln_ratio_mnmsup_mnmsub 
*
*
* Obama - Trump Differences [Minority Women - Minority Men Respondent Differences: Supervisory - Non Supervisory Positions]  **
lincom   1.obama#1.supervisor#2.minority_het#c.ln_ratio_mnmsup_mnmsub -  1.obama#1.supervisor#1.minority_het#c.ln_ratio_mnmsup_mnmsub



* SUPERVISOR - NON-SUPERVISORY DIFFERENCE AMONG WOMEN RESPONDENT DIFFERENCES [NON-MINORITY WOMEN RESPONDENTS FOLLOWED BY MINORITY WOMEN RESPONDENTS] -- DO NOT PLOT IN GRAPHS [ONLY FOR TEXT]!

lincom  1.minority_het#c.ln_ratio_mnmsup_mnmsub +  1.minority_het#1.supervisor#c.ln_ratio_mnmsup_mnmsub  - (1.minority_het#c.ln_ratio_mnmsup_mnmsub)
*
lincom  2.minority_het#c.ln_ratio_mnmsup_mnmsub +  2.minority_het#1.supervisor#c.ln_ratio_mnmsup_mnmsub  - (2.minority_het#c.ln_ratio_mnmsup_mnmsub)

*
*
lincom  1.obama#1.minority_het#c.ln_ratio_mnmsup_mnmsub +  1.obama#1.minority_het#1.supervisor#c.ln_ratio_mnmsup_mnmsub  - (1.obama#1.minority_het#c.ln_ratio_mnmsup_mnmsub)
*
lincom  1.obama#2.minority_het#c.ln_ratio_mnmsup_mnmsub +  1.obama#2.minority_het#1.supervisor#c.ln_ratio_mnmsup_mnmsub  - (1.obama#2.minority_het#c.ln_ratio_mnmsup_mnmsub)


clear

*** FIGURE F1: PLOT ELASTICITY MARGINAL EFFECTS FOR MODELS F1 & F2 USING LINCOMS ABOVE FOR EACH MODEL: PATTERN AFTER COMPARABLE SET OF MANUSCRIPT GRAPHICS/FIGURES [FIGURE 1]

import excel "C:\Users\jungy\Dropbox\DISCRIMINATION PROJECT\Organizational Diversity\Statistics\figuref1.xlsx", sheet("Sheet1") firstrow
destring, replace

set scheme sj, permanently 
graph set window fontface "Century Schoolbook"

twoway (rcap low95 high95 row, vert) (scatter estimates row if group ==1, msymbol(square) mcolor(orange))(scatter estimates row if group ==2, msymbol(diamond) mcolor(orange))(scatter estimates row if group ==3, msymbol(circle_hollow) mcolor(orange))(scatter estimates row if group ==4, msymbol(square) mcolor(navy))(scatter estimates row if group ==5, msymbol(diamond) mcolor(navy))(scatter estimates row if group ==6, msymbol(circle_hollow) mcolor(navy)), legend(row(1) order(2 "Gender" 5 "Race/Ethnicity") pos(6)) title("FIGURE F1" "Relationship Between Authority Differentials and D&I Employee Evaluations" "(By Respondent Single Social Identity Group)" "[Conditional AD Effects Based on Presidential Administration Differences (Obama-Trump)]", size(small)) ylabel(-0.1(.05)0.15, labsize (small) angle(horizon)) xtitle("AD Estimates [Differentials by Responsdent Single Social Identity Group]" "(Models 1&2)", size(small)) xlabel("", noticks) yline(0, lpattern(dash) lcolor(gs8)) aspect(.5)

clear

*** FIGURE F2: PLOT ELASTICITY MARGINAL EFFECTS FOR MODELS F3 & F4 USING LINCOMS ABOVE FOR EACH MODEL: PATTERN AFTER COMPARABLE SET OF MANUSCRIPT GRAPHICS/FIGURES [FIGURE 2]

import excel "C:\Users\jungy\Dropbox\DISCRIMINATION PROJECT\Organizational Diversity\Statistics\figuref2.xlsx", sheet("Sheet1") firstrow
destring, replace

set scheme sj, permanently  
graph set window fontface "Century Schoolbook"

twoway (rcap low95 high95 row, vert) (scatter estimates row if group ==1, msymbol(square) mcolor(orange))(scatter estimates row if group ==2, msymbol(circle) mcolor(orange)) (scatter estimates row if group ==3, msymbol(circle_hollow) mcolor(orange))(scatter estimates row if group ==4, msymbol(diamond) mcolor(orange))(scatter estimates row if group ==5, msymbol(diamond_hollow) mcolor(orange))(scatter estimates row if group ==6, msymbol(triangle_hollow) mcolor(orange))(scatter estimates row if group ==7, msymbol(square) mcolor(navy))(scatter estimates row if group ==8, msymbol(circle) mcolor(navy))(scatter estimates row if group ==9, msymbol(circle_hollow) mcolor(navy))(scatter estimates row if group ==10, msymbol(diamond) mcolor(navy))(scatter estimates row if group ==11, msymbol(diamond_hollow) mcolor(navy))(scatter estimates row if group ==12, msymbol(triangle_hollow) mcolor(navy)), legend(row(1) order(2 "Gender" 8 "Race/Ethnicity") pos(6)) title("FIGURE F2" "Relationship Between Authority Differentials and D&I Employee Evaluations" "(By Respondent Intersectional Social Identity Group)" "[Conditional AD Effects Based on Presidential Administration Differences (Obama-Trump)]", size(small)) ylabel(-0.2(.1)0.2, labsize (small) angle(horizon)) xtitle("Gender AD Effects: by Respondent Intersectionality Group   Race/Ethnicity AD Effects: by Respondent Intersectionality Group", size(vsmall)) xlabel("", noticks)  yline(0, lpattern(dash) lcolor(gs8)) aspect(.5)

clear

*** FIGURE F3: PLOT ELASTICITY MARGINAL EFFECTS FOR MODELS F5-F8 USING LINCOMS ABOVE FOR EACH MODEL: PATTERN AFTER COMPARABLE SET OF MANUSCRIPT GRAPHICS/FIGURES [FIGURE 3]

import excel "C:\Users\jungy\Dropbox\DISCRIMINATION PROJECT\Organizational Diversity\Statistics\figuref3.xlsx", sheet("Sheet1") firstrow
destring, replace
 
set scheme sj, permanently  
graph set window fontface "Century Schoolbook"

twoway (rcap low95 high95 row, vert) (scatter estimates row if group ==1, msymbol(square) mcolor(orange))(scatter estimates row if group ==2, msymbol(triangle) mcolor(orange)) (scatter estimates row if group ==3, msymbol(square_hollow) mcolor(orange)) (scatter estimates row if group ==4, msymbol(square) mcolor(navy)) (scatter estimates row if group ==5, msymbol(triangle) mcolor(navy))(scatter estimates row if group ==6, msymbol(square_hollow) mcolor(navy))(scatter estimates row if group ==7, msymbol(square) mcolor(orange))(scatter estimates row if group ==8, msymbol(circle) mcolor(orange))(scatter estimates row if group ==9, msymbol(circle_hollow) mcolor(orange))(scatter estimates row if group ==10, msymbol(diamond) mcolor(orange))(scatter estimates row if group ==11, msymbol(diamond_hollow) mcolor(orange))(scatter estimates row if group ==12, msymbol(triangle_hollow) mcolor(orange))(scatter estimates row if group ==13, msymbol(square) mcolor(navy))(scatter estimates row if group ==14, msymbol(circle) mcolor(navy))(scatter estimates row if group ==15, msymbol(circle_hollow) mcolor(navy))(scatter estimates row if group ==16, msymbol(diamond) mcolor(navy))(scatter estimates row if group ==17, msymbol(diamond_hollow) mcolor(navy))(scatter estimates row if group ==18, msymbol(triangle_hollow) mcolor(navy)), legend(row(1) order(2 "Gender" 5 "Race/Ethnicity") pos(6)) title("FIGURE F3" "Relationship Between Authority Differentials and D&I Employee Evaluations" "(Non-Supervisory Respondents: Single and Intersectional Social Identity Groups)" "[Conditional AD Effects Based on Presidential Administration Differences (Obama-Trump)]", size(small)) ylabel(-0.1(.1)0.2, labsize (small) angle(horizon)) xtitle("AD Effects: by Respondent Single Identity Group     AD Effects: by Respondent Intersectionality Group", size(vsmall)) xlabel("", noticks) yline(0, lpattern(dash) lcolor(gs8)) aspect(.5)

clear

*** FIGURE F4: PLOT ELASTICITY MARGINAL EFFECTS FOR MODELS F5-F8 USING LINCOMS ABOVE FOR EACH MODEL: PATTERN AFTER COMPARABLE SET OF MANUSCRIPT GRAPHICS/FIGURES [FIGURE 4]
   
import excel "C:\Users\jungy\Dropbox\DISCRIMINATION PROJECT\Organizational Diversity\Statistics\figuref4.xlsx", sheet("Sheet1") firstrow
destring, replace

set scheme sj, permanently 
graph set window fontface "Century Schoolbook"

twoway (rcap low95 high95 row, vert) (scatter estimates row if group ==1, msymbol(square) mcolor(orange))(scatter estimates row if group ==2, msymbol(triangle) mcolor(orange)) (scatter estimates row if group ==3, msymbol(square_hollow) mcolor(orange)) (scatter estimates row if group ==4, msymbol(square) mcolor(navy)) (scatter estimates row if group ==5, msymbol(triangle) mcolor(navy))(scatter estimates row if group ==6, msymbol(square_hollow) mcolor(navy))(scatter estimates row if group ==7, msymbol(square) mcolor(orange))(scatter estimates row if group ==8, msymbol(circle) mcolor(orange))(scatter estimates row if group ==9, msymbol(circle_hollow) mcolor(orange))(scatter estimates row if group ==10, msymbol(diamond) mcolor(orange))(scatter estimates row if group ==11, msymbol(diamond_hollow) mcolor(orange))(scatter estimates row if group ==12, msymbol(triangle_hollow) mcolor(orange))(scatter estimates row if group ==13, msymbol(square) mcolor(navy))(scatter estimates row if group ==14, msymbol(circle) mcolor(navy))(scatter estimates row if group ==15, msymbol(circle_hollow) mcolor(navy))(scatter estimates row if group ==16, msymbol(diamond) mcolor(navy))(scatter estimates row if group ==17, msymbol(diamond_hollow) mcolor(navy))(scatter estimates row if group ==18, msymbol(triangle_hollow) mcolor(navy)), legend(row(1) order(2 "Gender" 5 "Race/Ethnicity") pos(6)) title("FIGURE F4" "Relationship Between Authority Differentials and D&I Employee Evaluations" "(Supervisor Respondents: Single and Intersectional Social Identity Groups)" "[Conditional AD Effects Based on Presidential Administration Differences (Obama-Trump)]", size(small)) ylabel(-0.1(.1)0.2, labsize (small) angle(horizon)) xtitle("AD Effects: by Respondent Single Identity Group     AD Effects: by Respondent Intersectionality Group", size(vsmall)) xlabel("", noticks) yline(0, lpattern(dash) lcolor(gs8)) aspect(.5)

******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************

   

log close




